function resetFontSize() {
  let baseFontSize = 100
  let designWidth = 750
  let width = window.innerWidth
  let currentFontSize = (width / designWidth) * baseFontSize
  document.getElementsByTagName('html')[0].style.fontSize = currentFontSize + 'px'
}
window.onresize = function () {
  resetFontSize()
};
resetFontSize()